<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"
     xml:lang="en">
  <head>
    <title>Information Center for ARM</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <link type="text/css" rel="stylesheet" media="all" href="file://$TOOLKIT_DIR$/doc/infocenter/style/ewic.css" />
  </head>
  <body>
  <div id="topbanner"></div>
  <div id="titlebanner_small">
    <h2>Information Center for ARM</h2>
  </div>
  <div class="breadcrumb"><a href="$TOOLKIT_DIR$/doc/infocenter/index.ENU.html">Information Center for ARM</a> | EXAMPLES</div>
  <div class="mainblock">
   <h2>Example description</h2>

   <pre>  <!--Insert readme.txt-->


Purpose:
	This example will test Quadrature Encoder Interface module in LPC17xx
	with velocity calculation (RPM) to display via UART0.
	Using UART0 with this configuration - 115200bps - 8 data bit - No parity - 1 stop bit 
	- No flow control to display information.

Hardware configuration:
	This example tested on Keil MCB2300 platform v4.0 with LPC1768
	These jumpers must be configured as following:
		- VBUS must be closed.
		- Remaining jumpers must be opened

Running mode:
	This example can run on RAM mode with a debugger or run on FLASH after burning.
	
Note:
	This example use a timer match interrupt to generate a virtual QEI signal output for QEI 
	module to capture (Phase A and Phase B channel). In case of using QEI virtual signal, 
	symbol VIRTUAL_QEI_SIGNAL must be set to 1. In this case, two GPIO output pin on port 0 
	can be used	to toggle state that defined through PHASE_A_PIN and PHASE_B_PIN. The MCFB0 
	(PHA - Phase A input) and MCFB1 (PHB - Phase B input) therefore must be connect to these GPIO  pins.
	
	</pre>

  </div>
  </body>
</html>






